FROM eclipse-temurin:11.0.17_8-jre

WORKDIR /opt/log

ADD target/Log-0.0.1-SNAPSHOT.jar /opt/log/target/

ADD BUILD/conf /opt/log/conf
ADD BUILD/bin /opt/log/bin

ENV NACOS_HOST nacos:8848
ENV JAR_NAME Log-0.0.1-SNAPSHOT.jar

CMD ["sh", "bin/restart.sh"]